package cskevin.thermometer.bean;
/**
 * 天气实体类
 * @author csKevin
 *
 */
public class WeatherBean {
	
	public static final String JSON_WEATHER = "weatherinfo";//json解析
	public static final String WEATHER_URL1 = "http://www.weather.com.cn/data/sk/";
	public static final String WEATHER_URL2 = "http://www.weather.com.cn/data/cityinfo/";
	public static final String WEATHER_URL3 = "http://m.weather.com.cn/data/";
	
	private int weatherId;//天气ID
	private String cityTag;//城市代码
	private String temperature;//温度
	private String issueTime;//发布时间
	private String dressNote;//穿衣提示
	private int sourceTag;//来源标识，0为网络获取 ，1为实时测量
	public int getWeatherId() {
		return weatherId;
	}
	public void setWeatherId(int weatherId) {
		this.weatherId = weatherId;
	}
	public String getCityTag() {
		return cityTag;
	}
	public void setCityTag(String cityTag) {
		this.cityTag = cityTag;
	}
	public String getTemperature() {
		return temperature;
	}
	public void setTemperature(String temperature) {
		this.temperature = temperature;
	}
	public String getIssueTime() {
		return issueTime;
	}
	public void setIssueTime(String issueTime) {
		this.issueTime = issueTime;
	}
	public String getDressNote() {
		return dressNote;
	}
	public void setDressNote(String dressNote) {
		this.dressNote = dressNote;
	}
	public int getSourceTag() {
		return sourceTag;
	}
	public void setSourceTag(int sourceTag) {
		this.sourceTag = sourceTag;
	}
	public static String getJsonWeather() {
		return JSON_WEATHER;
	}
	public WeatherBean(int weatherId, String cityTag, String temperature,
			String issueTime, String dressNote, int sourceTag) {
		super();
		this.weatherId = weatherId;
		this.cityTag = cityTag;
		this.temperature = temperature;
		this.issueTime = issueTime;
		this.dressNote = dressNote;
		this.sourceTag = sourceTag;
	}
	public WeatherBean() {
		super();
	}
	@Override
	public String toString() {
		return "WeatherBean [weatherId=" + weatherId + ", cityTag=" + cityTag
				+ ", temperature=" + temperature + ", issueTime=" + issueTime
				+ ", dressNote=" + dressNote + ", sourceTag=" + sourceTag + "]";
	}
	
}
